package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-05-31
 * Time: 21:36
 */
public class Animal {
    String name;
    int age;
    public void eat(){
        System.out.println(name+"正在吃饭...");
    }
    public void sleep(){
        System.out.println(name+"正在睡觉...");
    }
}
